package com.qingcheng.service.goods;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qingcheng.entity.PageResult;
import com.qingcheng.entity.Result;
import com.qingcheng.pojo.goods.Brand;

import java.util.List;
import java.util.Map;

public interface BrandService extends IService<Brand> {

    void add(Brand brand);

    List<Brand> findAll();
    Result findPage(int page, int size);

    Result searchPage(Map<String, Object> searchMap, int page, int size);
    Result updateBy(Brand brand);

    Result deleteBy(Integer id);
}
